package com.wkl.service.impl;

import com.wkl.config.aspects.demo02.InitUser;
import com.wkl.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    public void getUser() {
        System.out.println("获取一个用户");
    }

    @InitUser(msg = "hello")
    public void addUser() {
        System.out.println("添加一个用户");
    }
}

